﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace Delay
{
    public class TypePictureItem : INotifyPropertyChanged
    {
        private int      _imgageid;
        public  int Imgageid
        {
            get
            {
                return _imgageid;
            }
            set
            {
                if (_imgageid != value)
                {
                    _imgageid = value;
                    NotifyPropertyChanged("Imgageid");
                }
            }
        }
        private string   _prevurl;
        public string    Prevurl
        {
            get
            {
                return _prevurl;
            }
            set
            {
                if (_prevurl != value)
                {
                    _prevurl = value;
                    NotifyPropertyChanged("Prevurl");
                }
            }
        }
        private string   _acturl;
        public string    Acturl
        {
            get
            {
                return _acturl;
            }
            set
            {
                if (_acturl != value)
                {
                    _acturl = value;
                    NotifyPropertyChanged("Acturl");
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}
